package com.clothing;

import java.io.File;

/**
 * 公共参数
 * 
 * @author PTR Team
 * @version 1.0
 */
public final class CommonAttributes
{
    public static final String TOKEN_ERROR_MESSAGE = "Bad or missing token!";

    public static final String BASE_UPLOAD_PATH = File.separator + "usr" + File.separator + "local" + File.separator + "circle" + File.separator + "test";
    
    public static final String SITE_URL = "https://dev.ulcodes.com";
    
    public static final String[] IMAGE_UPLOAD_EXTENSIONS = {"jpg", "jpeg", "bmp", "gif", "png"};
    
    public static final String THIRD_SESSION_ID = "third-session-id";

    /** 日期格式配比 */
    public static final String[] DATE_PATTERNS = new String[] { "yyyy",
            "yyyy-MM", "yyyyMM", "yyyy/MM", "yyyy-MM-dd", "yyyyMMdd",
            "yyyy/MM/dd", "yyyy-MM-dd HH:mm:ss", "yyyyMMddHHmmss",
            "yyyy/MM/dd HH:mm:ss" };
    
    /**
     * 不可实例化
     */
    private CommonAttributes()
    {
    }
}